package com.ruoyi.game.schedule.asyn;

import com.ruoyi.common.enums.GameEnum;
import com.ruoyi.game.service.IRoundService;

public class WingoRoundTask implements Runnable{

    private int time;

    private IRoundService roundService;

    public WingoRoundTask(IRoundService roundService,int time){
        this.roundService = roundService;
        this.time = time;
    }

    @Override
    public void run() {
        roundService.getRoundNo(GameEnum.GameTypeEnum.WINGO.getType(), time);
    }
}
